<div id="content">
    <div class="block" style="padding: 5px;">
        <center>
            <form class="form-inline" role="form">
                MÔN:
                <select name="mon">
                    <option value="Toán">Toán</option>
                    <option value="Tiếng Việt">Tiếng Việt</option>
                </select>
                &nbsp;&nbsp;&nbsp;&nbsp;
                LỚP
                <select name="lop">
                    <option value="1">LỚP 1</option>
                    <option value="2">LỚP 2</option>
                    <option value="3">LỚP 3</option>
                    <option value="4">LỚP 4</option>
                    <option value="5">LỚP 5</option>
                    <option value="tatca">Tất cả</option>
                </select>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <button type="submit" class="btn btn-default">TÌM</button>
            </form>
        </center> 
    </div>
    <div class="block" style="padding: 5px;font-weight: bold;font-size: 18px;color: #2aabd2">DANH SÁCH BÀI TẬP</div>
    <table class="table">
        <tr style="font-weight: bold;font-size: 18px;">
            <td>TÊN BÀI TẬP</td>
            <td>BÀI GIẢNG</td>
            <td>MÔN HỌC</td>
            <td>KHỐI LỚP</td>
        </tr>
        <?php foreach ($baitap as $value) : ?>
        <tr>
            <td><a href="<?php echo base_url().'baitap/xemchitiet/'.$value->mabaitap; ?>"><?php echo $value->tenbaitap; ?></a></td>
            <td><a href="<?php echo base_url().'trangchu/xembaigiang/'.$value->mabaitap; ?>"><?php echo $value->tenbaigiang; ?></a></td>
            <td><?php echo $value->tenmonhoc; ?></td>
            <td><?php echo $value->khoi; ?></td>
        </tr>
        <?php endforeach; ?>
    </table>
</div>